package com.tj.shopping.mapper;
import com.tj.shopping.entity.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    List<User> findall ();

    int update(User user);

    List<Map<String,Object>> finds(Map<String,Object> map);

    int add(User user);

    User login(String uname,String upwd);

}
